public SpentServiceBase(ISpentRepository rep, IValidatorSpecification <Spent> validation, IWarningSpecification <Spent> warning, ICache cache, CurrentUser user)
     : base(cache)
 {
     this._rep        = rep;
     this._user       = user;
     this._validation = validation;
     this._warning    = warning;
 }
Пример #2
0
 public SpentService(ISpentRepository rep, IValidatorSpecification <Spent> validation, IWarningSpecification <Spent> warning, ICache cache, CurrentUser user)
     : base(rep, validation, warning, cache, user)
 {
 }
 public SpentMoreController(ISpentRepository rep, ISpentApplicationService app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user, ICache cache)
     : base(rep, app, logger, env, user, cache, new ExportExcel <dynamic>(), new ErrorMapCustom())
 {
 }
 public SpentIsSuitableWarning(ISpentRepository rep)
 {
     //base.Add(Guid.NewGuid().ToString(), new Rule<Spent>(Instance of suitable warning specification,"message for user"));
 }
 public SpentIsSuitableValidation(ISpentRepository rep)
 {
     //base.Add(Guid.NewGuid().ToString(), new Rule<Spent>(Instance of is suitable,"message for user"));
 }