public async Task <ActionResult <ConfDoctor> > GetConfDoctor(int id) { var confDoctors = await _confDoctorsRepository.Get(id); if (confDoctors == null) { return(NotFound()); } return(Ok(confDoctors)); }
public async Task <ActionResult <Contact> > GetContact(int id) { var contact = await _contactRepository.Get(id); if (contact == null) { return(NotFound()); } return(Ok(contact)); }
public async Task <ActionResult <Expertise> > GetExpertise(int id) { var expertise = await _expertiseRepository.Get(id); if (expertise == null) { return(NotFound()); } return(Ok(expertise)); }
public async Task <ActionResult <City> > GetCity(int id) { var city = await _cityRepository.Get(id); if (city == null) { return(NotFound()); } return(Ok(city)); }
public async Task <ActionResult <Document> > GetDocument(int id) { var document = await _documentRepository.Get(id); if (document == null) { return(NotFound()); } return(Ok(document)); }
public async Task <ActionResult <Schedule> > GetSchedule(int id) { var schedule = await _scheduleRepository.Get(id); if (schedule == null) { return(NotFound()); } return(Ok(schedule)); }
public async Task <ActionResult <Role> > GetRole(int id) { var role = await _roleRepository.Get(id); if (role == null) { return(NotFound()); } return(Ok(role)); }
public async Task <ActionResult <Adress> > GetAdress(int id) { var adress = await _adressRepository.Get(id); if (adress == null) { return(NotFound()); } return(Ok(adress)); }
public async Task <ActionResult <DocsecRel> > GetDocsecRel(int id) { var ocsecRel = await _ocsecRelRepository.Get(id); if (ocsecRel == null) { return(NotFound()); } return(Ok(ocsecRel)); }