public DisciplineService(IRepositoryBootstrapper repositoryStrategy) : base(repositoryStrategy) { _cathedraRepo = (IRepository <Cathedra>)repositoryStrategy[typeof(Cathedra)]; _groupRepo = (IRepository <Group>)repositoryStrategy[typeof(Group)]; _userRepo = (IRepository <User>)repositoryStrategy[typeof(User)]; _settingRepo = (IRepository <Setting>)repositoryStrategy[typeof(Setting)]; }
public CathedraService(IRepositoryBootstrapper repositoryStrategy) : base(repositoryStrategy) { _disciplineRepo = (IRepository <Discipline>)repositoryStrategy[typeof(Discipline)]; }
public BaseService(IRepositoryBootstrapper repositoryBootstrapper) { RepositoryResolver = repositoryBootstrapper; Repository = (IRepository <TEntity>)repositoryBootstrapper[typeof(TEntity)];//fix }
public UserService(IRepositoryBootstrapper repositoryStrategy) : base(repositoryStrategy) { _groupService = (IRepository <Group>)repositoryStrategy[typeof(Group)]; }
public ServiceFactory(IRepositoryBootstrapper bootstrapper) { _bootstrapper = bootstrapper; }
public SettingService(IRepositoryBootstrapper repositoryBootstrapper) : base(repositoryBootstrapper) { }
public GroupService(IRepositoryBootstrapper repositoryBootstrapper) : base(repositoryBootstrapper) { _cathedraRepo = (IRepository <Cathedra>)repositoryBootstrapper[typeof(Cathedra)]; _disciplineRepo = (IRepository <Discipline>)repositoryBootstrapper[typeof(Discipline)]; _userRepo = (IRepository <User>)repositoryBootstrapper[typeof(User)]; }