Exemple #1
0
 public ActionResult <List <PatientModel> > GetByAgent(int agentId)
 {
     try
     {
         return(_business.GetByAgent(agentId));
     }
     catch (Exception ex)
     {
         _logging.Log(LogSeverity.Error, ex.ToString());
         throw;
     }
 }