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