public objCropsDetailsResponseModel UpdateCropPerticulars(objCropsDetailsRequestModel request) { ICropDetailsDataAccess _repository = new CropDetailsDataAccess(); objCropsDetailsResponseModel response = new objCropsDetailsResponseModel(); response.Status = _repository.UpdateCropPerticular(request.objCropPerticular); return(response); }
public objCropsDetailsResponseModel GetCropListings(objCropsDetailsRequestModel request) { ICropDetailsDataAccess _repository = new CropDetailsDataAccess(); objCropsDetailsResponseModel response = new objCropsDetailsResponseModel(); response.CropListings = _repository.GetCropList(request.objCropDetails); return(response); }
public objCropsDetailsResponseModel DeleteCropList(objCropsDetailsRequestModel request) { ICropDetailsDataAccess _repository = new CropDetailsDataAccess(); objCropsDetailsResponseModel response = new objCropsDetailsResponseModel(); response.Status = _repository.DeleteCropList(request.objCropDetails); return(response); }
public CropDetailsModel GetInventoryCropDetails(CropDetailsModel request) { ICropDetailsDataAccess _repository = new CropDetailsDataAccess(); CropDetailsModel response = new CropDetailsModel(); response = _repository.GetInventoryCropDetails(request.Id); return(response); }