public ActionResult <SectionCreateDTO> SectionTeachers(int id_section) { try { return(Ok(SqlSectionsRepository.GetAllTeachers(id_section))); } catch (DatabaseException) { return(StatusCode(500)); } }
public ActionResult <SectionCreateDTO> SectionTeachers(int id_section) { try { return(Ok(SqlSectionsRepository.GetAllTeachers(id_section))); } catch (DatabaseException) { return(StatusCode(500)); } }