Exemple #1
0
 public HttpResponseMessage AddCourseTitle(CourseTitle model)
 {
     try
     {
         Log.Info("QualificationController:AddCourseTitle", "Add CourseTitle START", string.Empty);
         UserContextModel objUser = new UserContextModel();
         objUser.UserID      = 1;
         objUser.CompanyCode = "devDB";
         var data = _qualificationService.AddCourseTitle(model, objUser);
         Log.Info("QualificationController:AddCourseTitle", "Add CourseTitle END", string.Empty);
         return(this.Request.CreateResponse(HttpStatusCode.OK, data));
     }
     catch (Exception ex)
     {
         var helper = new AppPresentationException(ex);
         return(helper.GetResponse(this));
     }
 }