Пример #1
0
 public HomeController(UserManager <AppUser> userManager, ITasksDal tasksDal, ITaskDateDal taskDateDal, TasksManager tasksManager)
 {
     _userManager  = userManager;
     _tasksDal     = tasksDal;
     _taskDateDal  = taskDateDal;
     _tasksManager = tasksManager;
 }
Пример #2
0
        public TasksManager(ITasksDal tasksDal, ITaskDateDal taskDateDal /*, IGenericDal<Tasks> genericDal*/, IMapper mapper, UserManager <AppUser> userManager, IGenericDal <TaskDate> generic)
        {
            //_genericDal = genericDal;

            _mapper          = mapper;
            _userManager     = userManager;
            _generictaskdate = generic;
            _taskDateDal     = taskDateDal;
            _tasksDal        = tasksDal;
        }