public BaseApiController(IBookShopData data) { this.data = data; }
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(); }
public BaseController(IBookShopData bookShopData) { this.Data = bookShopData; }
public Repository(IBookShopData ctx) { this.context = ctx; this.set = context.Set <T>(); }
public AuthorsController() { unitOfWork = new BookShopData(); }