public ActionResult <IEnumerable <Contact> > GetAllContacts()
        {
            IEnumerable <Contact> contact = _contactRepository.GetAll();

            return(Ok(contact));
        }
        public ActionResult <IEnumerable <ConfPatient> > GetAllConfPatients()
        {
            IEnumerable <ConfPatient> confPatient = _confPatientRepository.GetAll();

            return(Ok(confPatient));
        }
        public ActionResult <IEnumerable <ConfDoctor> > GetAllConfDoctors()
        {
            IEnumerable <ConfDoctor> confDoctors = _confDoctorsRepository.GetAll();

            return(Ok(confDoctors));
        }
Пример #4
0
        public ActionResult <IEnumerable <Expertise> > GetAllExpertises()
        {
            IEnumerable <Expertise> expertise = _expertiseRepository.GetAll();

            return(Ok(expertise));
        }
        public ActionResult <IEnumerable <City> > GetAllCities()
        {
            IEnumerable <City> city = _cityRepository.GetAll();

            return(Ok(city));
        }
        public ActionResult <IEnumerable <Document> > GetAllDocuments()
        {
            IEnumerable <Document> document = _documentRepository.GetAll();

            return(Ok(document));
        }
        public ActionResult <IEnumerable <Schedule> > GetAllSchedules()
        {
            IEnumerable <Schedule> schedule = _scheduleRepository.GetAll();

            return(Ok(schedule));
        }
        public ActionResult <IEnumerable <Role> > GetAllRoles()
        {
            IEnumerable <Role> role = _roleRepository.GetAll();

            return(Ok(role));
        }
        public ActionResult <IEnumerable <Adress> > GetAllAdresss()
        {
            IEnumerable <Adress> adress = _adressRepository.GetAll();

            return(Ok(adress));
        }
Пример #10
0
        public ActionResult <IEnumerable <DocsecRel> > GetAllDdocsecRel()
        {
            IEnumerable <DocsecRel> ocsecRel = _ocsecRelRepository.GetAll();

            return(Ok(ocsecRel));
        }