public async Task <ActionResult <IEnumerable <Painting> > > GetArtWork() { var works = data.GetAllWorks(); if (works.Count <= 0) { return(NoContent()); } return(works); }
public async Task <ActionResult <IEnumerable <Sculpture> > > GetSculptures() { var works = data.GetAllWorks(); if (works.Count <= 0) { return(NoContent()); } return(works); }