Beispiel #1
0
 public async Task <IActionResult> Post(Manifestoutgoing t)
 {
     try
     {
         t.UsersId = User.GetUserId();
         return(Ok(await context.InsertAndGetItem(t)));
     }
     catch (Exception ex)
     {
         return(BadRequest(new ErrorMessage(ex.Message)));
     }
 }
Beispiel #2
0
 public manifestoutgoing Post(manifestoutgoing t)
 {
     return(context.InsertAndGetItem(t));
 }