Пример #1
0
 public DocumentFieldController(
     IDocumentFieldRepository _DocumentField
     , IUserRepository _user
     , IDocumentAttributeRepository DocumentAttribute
     , IPageRepository page
     , IUserTypePageRepository userTypePage
     , ILogDocumentAttributeRepository logDocumentAttribute
     , ICategoryRepository category
     , IContractRepository contract
     , ILabourContractRepository labourContract
     , IObjectAttributeRepository objectAttribute
     , IInternalNotificationsRepository _InternalNotifications
     )
 {
     DocumentFieldRepository         = _DocumentField;
     userRepository                  = _user;
     DocumentAttributeRepository     = DocumentAttribute;
     pageRepository                  = page;
     userTypePageRepository          = userTypePage;
     LogDocumentAttributeRepositorty = logDocumentAttribute;
     categoryRepository              = category;
     contractRepository              = contract;
     labourContractRepository        = labourContract;
     InternalNotificationsRepository = _InternalNotifications;
     ObjectAttributeRepository       = objectAttribute;
 }
Пример #2
0
 public InternalNotificationsController(
     IInternalNotificationsRepository _InternalNotifications
     , IUserRepository _user
     , IStaffsRepository staffs
     , INotificationsDetailRepository notificaations
     )
 {
     InternalNotificationsRepository = _InternalNotifications;
     userRepository          = _user;
     StaffsRepository        = staffs;
     notificationsRepository = notificaations;
 }
Пример #3
0
 public HomeController(
     IUserRepository userRepo
     , IPageMenuRepository pageMenuRepository
     , ILoginLogRepository loginlog
     , IInternalNotificationsRepository internalNotifications
     , IStaffsRepository staffs
     , ITaskRepository task
     , ICategoryRepository categoryRepository
     , IUserTypeRepository userType
     )
 {
     _pageMenuRepository = pageMenuRepository;
     _loginlogRepository = loginlog;
     _userRepository     = userRepo;
     internalNNotificationsRepository = internalNotifications;
     staffRepository     = staffs;
     taskRepository      = task;
     _categoryRepository = categoryRepository;
     userTypeRepository  = userType;
 }