コード例 #1
0
 /// <summary>
 /// To Obsolete Roof Type
 /// </summary>
 /// <param name="RoofTypeID"></param>
 /// <param name="IsDeleted"></param>
 /// <returns></returns>
 public string ObsoleteRoofType(int RoofTypeID, string IsDeleted)
 {
     objRoofTypeDAL = new RoofTypeDAL();
     return(objRoofTypeDAL.ObsoleteFloorTypeDAL(RoofTypeID, IsDeleted));
 }
コード例 #2
0
 /// <summary>
 /// To Delete Roof Type
 /// </summary>
 /// <param name="RoofTypeID"></param>
 /// <param name="UserID"></param>
 /// <returns></returns>
 public string DeleteRoofType(int RoofTypeID, int UserID)
 {
     objRoofTypeDAL = new RoofTypeDAL();
     return(objRoofTypeDAL.DeleteRoofType(RoofTypeID, UserID));
 }
コード例 #3
0
        /// <summary>
        /// To Update Roof Type
        /// </summary>
        /// <param name="oRoofType"></param>
        /// <returns></returns>
        public string UpdateRoofType(RoofTypeBO oRoofType)
        {
            objRoofTypeDAL = new RoofTypeDAL();

            return(objRoofTypeDAL.UpdateRoofType(oRoofType));
        }
コード例 #4
0
        /// <summary>
        /// To Add Roof Type
        /// </summary>
        /// <param name="oRoofType"></param>
        /// <returns></returns>
        public string AddRoofType(RoofTypeBO oRoofType)
        {
            objRoofTypeDAL = new RoofTypeDAL();

            return(objRoofTypeDAL.SaveRoofType(oRoofType));
        }
コード例 #5
0
 /// <summary>
 /// To Get Roof Type By Id
 /// </summary>
 /// <param name="RoofTypeID"></param>
 /// <returns></returns>
 public RoofTypeBO GetRoofTypeById(int RoofTypeID)
 {
     objRoofTypeDAL = new RoofTypeDAL();
     return(objRoofTypeDAL.GetRoofTypeById(RoofTypeID));
 }
コード例 #6
0
 /// <summary>
 /// To Get Roof Type
 /// </summary>
 /// <returns></returns>
 public RoofTypeList GetRoofType()
 {
     objRoofTypeDAL = new RoofTypeDAL();
     return(objRoofTypeDAL.GetRoofType());
 }