- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
protected override void HandleImpl( DeleteTrashModel model )
{
switch( model.TableName )
{
case DeleteTrashTablesEnum.AuthenticationTicket:
this.DeleteTrash( DeleteTrashTablesEnum.AuthenticationTicket, model.DaysCount );
break;
case DeleteTrashTablesEnum.ResetPasswordTicket:
this.DeleteTrash( DeleteTrashTablesEnum.ResetPasswordTicket, model.DaysCount );
break;
case DeleteTrashTablesEnum.Notification:
this.DeleteTrash( DeleteTrashTablesEnum.Notification, model.DaysCount );
break;
case DeleteTrashTablesEnum.Event:
this.DeleteTrash( DeleteTrashTablesEnum.Event, model.DaysCount );
break;
}
}
AppleMan 25.06.2014 13:33 # +1
А ещё если есть скобочки - нужны пробелы
kegdan 25.06.2014 14:20 # 0
Lure Of Chaos 25.06.2014 18:56 # +1
wvxvw 26.06.2014 08:19 # +1
kegdan 26.06.2014 09:50 # 0
bormand 26.06.2014 10:12 # 0
kegdan 26.06.2014 10:21 # 0
kegdan 26.06.2014 09:48 # 0