public object GetCaste() { try { CasteBL cb = new CasteBL(); var castelist = cb.GetCaste(); return(castelist); } catch (Exception ex) { return(new Error() { IsError = true, Message = ex.Message }); } }
public object DeleteSubCaste([FromBody] SubCasteParam MP) { try { CasteBL obj = new CasteBL(); var result = obj.DeleteSubCaste(MP); return(result); } catch (Exception e) { return(new Error() { IsError = true, Message = e.Message }); } }
public object GetCategory() { try { CasteBL cb = new CasteBL(); var GrType = cb.GetCategory(); return(GrType); } catch (Exception e) { return(new Error() { IsError = true, Message = e.Message }); } }
public object SaveSubCaste([FromBody] SubCasteParam PR) { try { CasteBL OBJSAVE = new CasteBL(); var result = OBJSAVE.SaveSubCaste(PR); return(result); } catch (Exception e) { return(new Error() { IsError = true, Message = e.Message }); } }
public object GetSingleSubCasteInfo([FromBody] SubCasteParam OBJGR) { try { CasteBL obj = new CasteBL(); var SingleGR = obj.GetSingleSubCaste(OBJGR); return(SingleGR); } catch (Exception ex) { return(new Error() { IsError = true, Message = ex.Message }); } }
public object GetCategoryMaster([FromBody] CategoryParam objid) { try { var status = objid.Status; CasteBL obj = new CasteBL(); var ERPCategory = obj.GetCategoryList(status); return(ERPCategory); } catch (Exception ex) { return(new Error() { IsError = true, Message = ex.Message }); } }
public object GetReligionMaster([FromBody] ReligionParam objid) { try { var status = objid.Status; CasteBL obj = new CasteBL(); var ERPreligion = obj.GetReligionList(status); return(ERPreligion); } catch (Exception ex) { return(new Error() { IsError = true, Message = ex.Message }); } }
public object GetSubCasteMaster([FromBody] SubCasteParam objid) { try { var status = objid.Status; CasteBL obj = new CasteBL(); var ERPSubCaste = obj.GetSubCasteList(status); return(ERPSubCaste); } catch (Exception ex) { return(new Error() { IsError = true, Message = ex.Message }); } }