예제 #1
0
 public async Task <IActionResult> DeleteShip([FromRoute] int id)
 {
     repo.Delete(await repo.GetByIdToDelete(id));
     return(StatusCode(200, new {
         response = ApiMessages.RecordDeleted()
     }));
 }