public ActionResult Delete(string name) { _genreService.DeleteByName(name); return(RedirectToAction("Index")); }
public HttpResponseMessage Delete(string name) { _publisherService.DeleteByName(name); return(Request.CreateResponse(HttpStatusCode.OK)); }