public async Task <IEnumerable <SectionCard> > GetAllSectionsAsync() { return(await ss.GetAllSectionsAsync()); }
public async Task <IHttpActionResult> Get() { Services.SectionService.Contract.Section[] sections = await sectionService.GetAllSectionsAsync(); return(Ok(sections.DeepCopyTo <Models.Section[]>())); }