Пример #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());
 }