public ExpenseHeadDetailsViewModel(IExpenseHeadService documentTypeService, IFilePickerService filePickerService, ICommonServices commonServices, ExpenseHeadListViewModel documentTypeListViewModel, ExpenseHeadViewModel expenseHeadViewModel) : base(commonServices)
 {
     ExpenseHeadService       = documentTypeService;
     FilePickerService        = filePickerService;
     ExpenseHeadListViewModel = documentTypeListViewModel;
     ExpenseHeadViewModel     = expenseHeadViewModel;
 }
 public ExpenseHeadListViewModel(IExpenseHeadService expenseHeadService, ICommonServices commonServices, ExpenseHeadViewModel expenseHeadViewModel) : base(commonServices)
 {
     ExpenseHeadService   = expenseHeadService;
     ExpenseHeadViewModel = expenseHeadViewModel;
 }
 /// <summary>
 /// Constructor for injection.
 /// </summary>
 /// <param name="branchServive">The branch service to inject.</param>
 public ExpenseHeadController(IExpenseHeadService expenseHeadService, ICommonResource commonResource)
 {
     _expenseHeadService = expenseHeadService;
     _commonResource     = commonResource;
 }
Ejemplo n.º 4
0
 public ExpenseHeadCollection(IExpenseHeadService expenseHeadService, ILogService logService) : base(logService)
 {
     ExpenseHeadService = expenseHeadService;
 }