/// <summary> /// To EDIT Crop Descr /// </summary> /// <param name="objCropDesc"></param> /// <returns></returns> public string EDITCropDescr(CropDescriptionBO objCropDesc) { CropDescriptionDAL CropDescriptionDAL = new CropDescriptionDAL(); //Data pass -to Database Layer try { return(CropDescriptionDAL.EDITCropDescr(objCropDesc)); } catch { throw; } finally { CropDescriptionDAL = null; } }
/// <summary> /// To Get Crop Description Id /// </summary> /// <param name="CROPDESCRIPTIONID"></param> /// <returns></returns> public CropDescriptionBO GetCropDescriptionId(int CROPDESCRIPTIONID) { CropDescriptionDAL CropDescriptionDALObj = new CropDescriptionDAL(); return(CropDescriptionDALObj.GetCropDescriptionId(CROPDESCRIPTIONID)); }
public string DeleteCropDESC(int CROPDESCRIPTIONID) { CropDescriptionDAL CropDescriptionDALObj = new CropDescriptionDAL(); return(CropDescriptionDALObj.DeleteCropDESC(CROPDESCRIPTIONID)); }
/// <summary> /// To Obsolete Crop DESC /// </summary> /// <param name="CROPDESCRIPTIONID"></param> /// <param name="IsDeleted"></param> /// <returns></returns> public string ObsoleteCropDESC(int CROPDESCRIPTIONID, string IsDeleted) { CropDescriptionDAL CropDescriptionDALObj = new CropDescriptionDAL(); return(CropDescriptionDALObj.ObsoleteCropDESC(CROPDESCRIPTIONID, IsDeleted)); }
/// <summary> /// To Get Crop Description /// </summary> /// <returns></returns> public CropDescriptionList GetCropDescription() { CropDescriptionDAL CropDescriptionDALObj = new CropDescriptionDAL(); return(CropDescriptionDALObj.GetCropDescription()); }