Exemplo n.º 1
0
 public ActionResult <string> Delete(int id)
 {
     if (_repo.DeleteBank(id))
     {
         return(Ok("Succssful Deleted"));
     }
     // if (_repo.DeleteBank(id, HttpContext.User.Identity.Name)) { return Ok("Successfully Deleted"); }
     return(BadRequest("Unable to Delete"));
 }