public object GetAllSchoolAchievementDetails(UserCredential UcOBj)
 {
     try
     {
         SchoolAchievementDetailsBL ObjBL = new SchoolAchievementDetailsBL();
         var result = ObjBL.GetAllSchoolAchievementDetails(UcOBj);
         return(result);
     }
     catch (Exception ex)
     {
         return(new Error {
             IsError = true, Message = ex.Message
         });
     }
 }
 public object DeleteAchievementDetails([FromBody] SchoolAchievementDetailsParam Pobj)
 {
     try
     {
         SchoolAchievementDetailsBL ObjBL = new SchoolAchievementDetailsBL();
         var result = ObjBL.DeleteAchievementDetails(Pobj);
         return(result);
     }
     catch (Exception ex)
     {
         return(new Error {
             IsError = true, Message = ex.Message
         });
     }
 }
 public object GetAllAchievementTypeMaster()
 {
     try
     {
         SchoolAchievementDetailsBL ObjBL = new SchoolAchievementDetailsBL();
         var result = ObjBL.GetAllAchievementTypeMaster();
         return(result);
     }
     catch (Exception e)
     {
         return(new Error()
         {
             IsError = true, Message = e.Message
         });
     }
 }