public HomeController(BiokartContext context) { _repObj = new BioKartRepository(context); }
public FarmerController(BiokartContext context, IMapper mapper) { repObj = new BioKartRepository(context); _mapper = mapper; }
public EmployeeController(BiokartContext context, IMapper mapper) { _repObj = new BioKartRepository(context); _mapper = mapper; }