/// <summary> /// To EDIT Consultant Type /// </summary> /// <param name="objconsultantType"></param> /// <returns></returns> public string EDITConsultantType(ConsultantTypeBO objconsultantType) { ConsultantTypeDAL ConsultantTypeDALobj = new ConsultantTypeDAL(); //Data pass -to Database Layer try { return(ConsultantTypeDALobj.EDITConsultantType(objconsultantType)); } catch { throw; } finally { ConsultantTypeDALobj = null; } }
/// <summary> /// To Delete Consultant Type /// </summary> /// <param name="consultantTypeID"></param> /// <returns></returns> public string DeleteConsultantType(int consultantTypeID) { ConsultantTypeDAL ConsultantTypeDALobj = new ConsultantTypeDAL(); //Data pass -to Database Layer return(ConsultantTypeDALobj.DeleteConsultantType(consultantTypeID)); }
/// <summary> /// To Get Consultant Type Id /// </summary> /// <param name="consultantTypeID"></param> /// <returns></returns> public ConsultantTypeBO GetConsultantTypeId(int consultantTypeID) { ConsultantTypeDAL ConsultantTypeDALobj = new ConsultantTypeDAL(); //Data pass -to Database Layer return(ConsultantTypeDALobj.GetConsultantTypeId(consultantTypeID)); }