Exemple #1
0
        /// <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;
            }
        }
Exemple #2
0
        /// <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));
        }
Exemple #3
0
        public string DeleteCropDESC(int CROPDESCRIPTIONID)
        {
            CropDescriptionDAL CropDescriptionDALObj = new CropDescriptionDAL();

            return(CropDescriptionDALObj.DeleteCropDESC(CROPDESCRIPTIONID));
        }
Exemple #4
0
        /// <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));
        }
Exemple #5
0
        /// <summary>
        /// To Get Crop Description
        /// </summary>
        /// <returns></returns>
        public CropDescriptionList GetCropDescription()
        {
            CropDescriptionDAL CropDescriptionDALObj = new CropDescriptionDAL();

            return(CropDescriptionDALObj.GetCropDescription());
        }