public SpendingService(MshareDbContext context, IUserService userService, IGroupService groupService, IOptimizedService optimizedService, IHistoryService historyService) { Context = context; UserService = userService; GroupService = groupService; OptimizedService = optimizedService; HistoryService = historyService; }
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; }
/// <summary>Initializes the SpendingController</summary> public SpendingController(ISpendingService spendingService, IOptimizedService optimizedService) { SpendingService = spendingService; OptimizedService = optimizedService; }