Exemple #1
0
 public HttpResponseMessage GetActiveDesignationById()
 {
     try
     {
         var Designation = _designation.GetActiveDesignationById();
         return(Request.CreateResponse(HttpStatusCode.OK, Designation));
     }
     catch (Exception ex)
     {
         throw new ApiDataException(1000, "Designation not found", HttpStatusCode.NotFound);
     }
 }