public object GetAllGrievanceList([FromBody] ParamGetGrievanceList objparam)
 {
     try
     {
         GetGrievanceListBL obj = new GetGrievanceListBL();
         var GetGrievance       = obj.GetGrievanceList(objparam);
         return(GetGrievance);
     }
     catch (Exception e)
     {
         return(new Error()
         {
             IsError = true, Message = e.Message
         });
     }
 }
 public object GrievanceAllocation([FromBody] ParamGetGrievanceList objid)
 {
     try
     {
         GetGrievanceListBL obj = new GetGrievanceListBL();
         var GRAllocation       = obj.GetGrievanceAllocation(objid);
         return(GRAllocation);
     }
     catch (Exception ex)
     {
         return(new Error()
         {
             IsError = true, Message = ex.Message
         });
     }
 }