//public IEnumerable<Organisation> GetAllOrganisation() => organisationRepository.GetAllOrganisation(); public ActionResult GetAllOrganisation() { List <OrganisationDto> organisations = new List <OrganisationDto>(); organisations = organisationRepository.GetAllOrganisation(); if (organisations.Count == 0) { return(NotFound()); } return(Ok(organisations)); }