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