public BaseApiController(IBookShopData data)
 {
     this.data = data;
 }
Exemple #2
0
 public BaseApiController(IBookShopData data)
 {
     this.data = data;
 }
 protected BaseApiController(IBookShopData data, IUserIdProvider userIdProvider)
 {
     this.data           = data;
     this.userIdProvider = userIdProvider;
 }
 protected BaseApiController(IBookShopData data, IUserIdProvider userIdProvider)
 {
     this.data = data;
     this.userIdProvider = userIdProvider;
 }
 public BooksController()
 {
     unitOfWork = new BookShopData();
 }
 public BooksController(IBookShopData unitOfWork)
 {
     this.unitOfWork = unitOfWork;
 }
 public CategoriesController(IBookShopData unitOfWork)
 {
     this.unitOfWork = unitOfWork;
 }
 public CategoriesController()
 {
     unitOfWork = new BookShopData();
 }
Exemple #9
0
 public BaseController(IBookShopData bookShopData)
 {
     this.Data = bookShopData;
 }
 public Repository(IBookShopData ctx)
 {
     this.context = ctx;
     this.set     = context.Set <T>();
 }
 public AuthorsController()
 {
     unitOfWork = new BookShopData();
 }