public async Task <ActionResult <IReadOnlyCollection <LandingDto> > > GetAllLandingAsync() { var landings = await _sitesService.GetAllLandingAsync(); if (landings == null) { return(NotFound("Collection was empty")); } return(Ok(landings)); }
public async Task <ActionResult <IReadOnlyCollection <LandingDto> > > GetAllLandingAsync() { var landings = await _sitesService.GetAllLandingAsync(); if (landings == null) { return(NotFound("Collection was empty")); } return(Ok(landings)); }