// POST public IHttpActionResult Post(Loans loan) { try { var mng = new LoanManager(); mng.Create(loan); apiResp = new ApiResponse(); apiResp.Message = "Action was executed"; return(Ok(apiResp)); } catch (BusinessException bex) { return(InternalServerError(new Exception(bex.ExceptionID + "-" + bex.AppMessage.Message))); } }