public async Task <ActionResult <IEnumerable <string> > > GetTypes() { return(Ok(await _repo.ReadTypesAsync())); }