public DirectoriesController(
     MathSiteDbContext context,
     MathServices services,
     IMapper mapper,
     CrudServiceMethods <Directory, DirectoryDto> crudServiceMethods
     ) : base(context, services, mapper)
 {
     _crudServiceMethods = crudServiceMethods;
 }
示例#2
0
 public ProfessorsController(MathSiteDbContext context,
                             MathServices services,
                             IMapper mapper,
                             CrudServiceMethods <Professor, ProfessorDto> crudServiceMethods,
                             PageableServiceMethods <Professor, ProfessorDto> pageableServiceMethods,
                             CountableServiceMethods <Professor> countableServiceMethods) : base(context, services, mapper)
 {
     _crudServiceMethods      = crudServiceMethods;
     _pageableServiceMethods  = pageableServiceMethods;
     _countableServiceMethods = countableServiceMethods;
 }
示例#3
0
 public FilesController(
     IFileFacade fileFacade,
     MathSiteDbContext context,
     MathServices services,
     IMapper mapper,
     CrudServiceMethods <Entities.File, FileDto> crudServiceMethods
     ) : base(context, services, mapper)
 {
     _fileFacade         = fileFacade;
     _crudServiceMethods = crudServiceMethods;
     _fileFormatBuilder  = new FileFormatBuilder();
 }
 public CategoriesController(
     MathSiteDbContext context,
     MathServices services,
     IMapper mapper,
     CrudServiceMethods <Category, CategoryDto> crudServiceMethods,
     PageableServiceMethods <Category, CategoryDto> pageableServiceMethods,
     CountableServiceMethods <Category> countableServiceMethods
     ) : base(context, services, mapper)
 {
     _crudServiceMethods      = crudServiceMethods;
     _pageableServiceMethods  = pageableServiceMethods;
     _countableServiceMethods = countableServiceMethods;
 }
示例#5
0
 public GroupsController(
     MathSiteDbContext context,
     MathServices services,
     IMapper mapper,
     CrudServiceMethods <Group, GroupDto> crudServiceMethods,
     PageableServiceMethods <Group, GroupDto> pageableServiceMethods,
     CountableServiceMethods <Group> countableServiceMethods
     ) : base(context, services, mapper)
 {
     _crudServiceMethods      = crudServiceMethods;
     _pageableServiceMethods  = pageableServiceMethods;
     _countableServiceMethods = countableServiceMethods;
 }
示例#6
0
 public UsersController(
     MathSiteDbContext context,
     MathServices services,
     IMapper mapper,
     IPasswordsManager passwordsManager,
     CrudServiceMethods <User, UserDto> crudServiceMethods,
     PageableServiceMethods <User, UserDto> pageableServiceMethods,
     CountableServiceMethods <User> countableServiceMethods
     ) : base(context, services, mapper)
 {
     _passwordsManager        = passwordsManager;
     _crudServiceMethods      = crudServiceMethods;
     _pageableServiceMethods  = pageableServiceMethods;
     _countableServiceMethods = countableServiceMethods;
 }