Пример #1
0
 public UserLogic(ApplicationContext context,
                  RoleLogic roleLogic,
                  CityLogic cityLogic,
                  DepartmentLogic departmentLogic)
 {
     _db              = context;
     _roleLogic       = roleLogic;
     _cityLogic       = cityLogic;
     _departmentLogic = departmentLogic;
 }
Пример #2
0
 public AccountLogic(ApplicationContext applicationContext,
                     UserLogic userLogic,
                     CityLogic cityLogic,
                     DepartmentLogic departmentLogic,
                     RoleLogic roleLogic,
                     ImageLogic imageLogic)
 {
     _db              = applicationContext;
     _userLogic       = userLogic;
     _cityLogic       = cityLogic;
     _departmentLogic = departmentLogic;
     _roleLogic       = roleLogic;
     _imageLogic      = imageLogic;
 }