常用方法
常用方法
常用方法
常用方法
public async Task <ActionResult <IList <Model.Receita> > > GetAsync() { try { var receitas = await _service.GetAllAsync(); return(new OkObjectResult(receitas)); } catch (Exception ex) { return(new BadRequestObjectResult(ex)); } }