public ActionResult <List <IntakeFormModel> > GetByVendor(int vendorId) { try { return(_intakeBusiness.GetByVendor(vendorId)); } catch (Exception ex) { _logging.Log(LogSeverity.Error, ex.ToString()); throw; } }