Пример #1
0
 public GroupLogic(IGroupDescription group, IRequestList requestList, IUserDescription users, IParticipation participation,
                   IFile files, IWebHostEnvironment appEnviron, IRole role)
 {
     _groupRepo         = group;
     _requestListRepo   = requestList;
     _userRepo          = users;
     _participationRepo = participation;
     _filesRepo         = files;
     _appEnviron        = appEnviron;
     _roleRepo          = role;
 }
Пример #2
0
 public HomeLogic(
     IGroupDescription groupDescription,
     IParticipation participation,
     IUserDescription userDescription,
     IRequestList requestList)
 {
     _groupDescription = groupDescription;
     _participation    = participation;
     _userDescription  = userDescription;
     _requestList      = requestList;
 }
Пример #3
0
 public HomeController(
     ILogger <HomeController> logger,
     IGroupDescription groupDescription,
     IParticipation participation,
     IUserDescription userDescription,
     IRequestList requestList)
 {
     _logger           = logger;
     _groupDescription = groupDescription;
     _participation    = participation;
     _userDescription  = userDescription;
     _requestList      = requestList;
     _homeLogic        = new HomeLogic(_groupDescription, _participation, _userDescription, _requestList);
 }
Пример #4
0
 public RequestListsController(IRequestList context)
 {
     _db = context;
 }