Beispiel #1
0
 public UnitOfWork(LauraWebContext context)
 {
     _context       = context;
     Users          = new UsersRepository(context);
     Categories     = new CategoriesRepository(context);
     Home           = new HomeRepository(context);
     About          = new AboutRepository(context);
     Experiences    = new ExperiencesRepository(context);
     SocialNetworks = new SocialNetworksRepository(context);
 }
Beispiel #2
0
 public SocialNetworksRepository(LauraWebContext context) : base(context)
 {
 }
Beispiel #3
0
 public ExperiencesRepository(LauraWebContext context) : base(context)
 {
 }
Beispiel #4
0
 public UsersRepository(LauraWebContext context) : base(context)
 {
 }
Beispiel #5
0
 public CoreConverter(LauraWebContext context)
 {
     _unitOfWork = new UnitOfWork(context);
 }
Beispiel #6
0
 public HomeRepository(LauraWebContext context) : base(context)
 {
 }
Beispiel #7
0
 public HomeController(LauraWebContext context, IConfiguration config)
 {
     _unitOfWork = new UnitOfWork(context);
     _config     = config;
 }
Beispiel #8
0
 public AboutRepository(LauraWebContext context) : base(context)
 {
 }
Beispiel #9
0
 public CategoriesRepository(LauraWebContext context) : base(context)
 {
 }