public async Task <IActionResult> GetByMount(int month) { try { return(Ok(await context.GetByMount(month))); } catch (Exception ex) { return(BadRequest(new ErrorMessage(ex.Message))); } }
public IEnumerable <manifestoutgoing> GetByMount(int month) { return(context.GetByMount(month)); }