public GPService(IGPRepository gpRepository, IUnitOfWork unitOfWork) { this._gpRepository = gpRepository; _unitOfWork = unitOfWork; }
public GPController(AppDbContext dbContext) { _doctors = new GPRepository(dbContext); }