Example #1
0
 /// <summary>
 /// RoleRepository
 /// </summary>
 /// <param name="context"></param>
 public RolesRepository(FilmstanContext context, ISieveProcessor sieveProcessor)
 {
     this.context          = context;
     this.sieveProcessor   = sieveProcessor;
     AccessLevelRepository = new AccessLevelsRpostiory(context);
     RoleEntite            = context.Set <Role>();
 }
Example #2
0
 public UsersRepository(FilmstanContext context, ISieveProcessor sieveProcessor)
 {
     this.context        = context;
     this.sieveProcessor = sieveProcessor;
     Users = context.Set <User>();
     UsersRoleRepository      = new UserRoleRepository(context);
     ActivationCodeRepository = new ActivationCodeRepository(context);
 }
Example #3
0
 public CategoryRepository(FilmstanContext context, ISieveProcessor sieveProcessor)
 {
     this.context               = context;
     this.sieveProcessor        = sieveProcessor;
     CategoryEntite             = context.Set <Category>();
     CategoryPropertyRepository = new CategoryPropertyRepository(context);
     BrandRepository            = new BrandRepository(context, sieveProcessor);
 }
Example #4
0
 public UserRoleRepository(FilmstanContext context)
 {
     this.context = context;
     UserRoles    = context.Set <UserRole>();
 }
 public AccessLevelsRpostiory(FilmstanContext context)
 {
     this.context = context;
     AccessLevels = context.Set <AccessLevel>();
 }
Example #6
0
 public BrandRepository(FilmstanContext context, ISieveProcessor sieveProcessor)
 {
     this.context        = context;
     this.sieveProcessor = sieveProcessor;
     Brands = context.Set <Brand>();
 }
Example #7
0
 public CategoryPropertyRepository(FilmstanContext context)
 {
     this.context       = context;
     CategoryProperties = context.Set <CategoryProperty>();
 }
 public PostMagazineRepository(FilmstanContext context)
 {
     this.context         = context;
     PostMagazinesEntitie = context.Set <PostMagazine>();
 }
Example #9
0
 public ActivationCodeRepository(FilmstanContext context)
 {
     this.context    = context;
     ActivationCodes = context.Set <ActivationCode>();
 }