Пример #1
0
 public SpendingService(MshareDbContext context, IUserService userService, IGroupService groupService, IOptimizedService optimizedService, IHistoryService historyService)
 {
     Context          = context;
     UserService      = userService;
     GroupService     = groupService;
     OptimizedService = optimizedService;
     HistoryService   = historyService;
 }
Пример #2
0
 public GroupService(MshareDbContext context, IEmailService emailService, IOptimizedService optimizedService, IHistoryService history, IURIConfiguration uriConf, IStringLocalizer <LocalizationResource> localizer, IRazorViewToStringRenderer renderer)
 {
     Context          = context;
     EmailService     = emailService;
     OptimizedService = optimizedService;
     UriConf          = uriConf;
     Renderer         = renderer;
     Localizer        = localizer;
     History          = history;
 }
Пример #3
0
 /// <summary>Initializes the SpendingController</summary>
 public SpendingController(ISpendingService spendingService, IOptimizedService optimizedService)
 {
     SpendingService  = spendingService;
     OptimizedService = optimizedService;
 }