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