public ActionResult Delete(int id)
 {
     result.resultint = br.Delete(id);
     return(RedirectToAction("List", new { @m = result.resultint.UserMessage, @id = id }));
 }
Beispiel #2
0
 public object DeleteBrand(String id)
 {
     return(brandRep.Delete(id));
 }
Beispiel #3
0
 public IHttpActionResult Delete(int id)
 {
     return(Ok(mapperBrand.ToDTOList(repBrand.Delete(id))));
 }