Exemplo n.º 1
0
 public HttpResponseMessage GetAllMajor()
 {
     try
     {
         Log.Info("QualificationController:GetAllMajor", "Get All Major START", string.Empty);
         UserContextModel objUser = new UserContextModel();
         objUser.UserID      = 1;
         objUser.CompanyCode = "devDB";
         var data = _qualificationService.GetAllMajor(objUser);
         Log.Info("QualificationController:GetAllMajor", "Get All Major END", string.Empty);
         return(this.Request.CreateResponse(HttpStatusCode.OK, data));
     }
     catch (Exception ex)
     {
         var helper = new AppPresentationException(ex);
         return(helper.GetResponse(this));
     }
 }