public List <ClientDto> GetAllClient()
 {
     try
     {
         return(_clientLogic.GetAllClient());
     }
     catch (Exception e)
     {
         throw new FaultException("Sikertelen client lekérdezés.");
     }
 }
Beispiel #2
0
 public IActionResult GetClients(int surveyId)
 {
     try
     {
         return(Ok(_logic.GetAllClient(AdminId, surveyId)));
     }
     catch (Exception e)
     {
         return(NotFound(e));
     }
 }