コード例 #1
0
        public objCropsDetailsResponseModel UpdateCropPerticulars(objCropsDetailsRequestModel request)
        {
            ICropDetailsDataAccess       _repository = new CropDetailsDataAccess();
            objCropsDetailsResponseModel response    = new objCropsDetailsResponseModel();

            response.Status = _repository.UpdateCropPerticular(request.objCropPerticular);
            return(response);
        }
コード例 #2
0
        public objCropsDetailsResponseModel GetCropListings(objCropsDetailsRequestModel request)
        {
            ICropDetailsDataAccess       _repository = new CropDetailsDataAccess();
            objCropsDetailsResponseModel response    = new objCropsDetailsResponseModel();

            response.CropListings = _repository.GetCropList(request.objCropDetails);
            return(response);
        }
コード例 #3
0
        public objCropsDetailsResponseModel DeleteCropList(objCropsDetailsRequestModel request)
        {
            ICropDetailsDataAccess       _repository = new CropDetailsDataAccess();
            objCropsDetailsResponseModel response    = new objCropsDetailsResponseModel();

            response.Status = _repository.DeleteCropList(request.objCropDetails);
            return(response);
        }
コード例 #4
0
        public CropDetailsModel GetInventoryCropDetails(CropDetailsModel request)
        {
            ICropDetailsDataAccess _repository = new CropDetailsDataAccess();
            CropDetailsModel       response    = new CropDetailsModel();

            response = _repository.GetInventoryCropDetails(request.Id);
            return(response);
        }