Example #1
0
 public IHttpActionResult Delete(int id)
 {
     try
     {
         lotService.RemoveLot(id);
         return(Ok("Lot removed successfuly"));
     }
     catch (NotFoundException)
     {
         return(NotFound());
     }
 }