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; }
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; }
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; }
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; }