public ResponseBase Update(Author author) { ResponseBase response = new ResponseBase(); try { response.Success = _appService.Update(author); } catch (LibraryException ex) { response.Message = ex.Message; } catch (Exception ex) { throw ex; } return(response); }
public ActionResult Update(Author_DTO obj) { _AuthorAppService.Update(obj); return(RedirectToAction("GetAll")); }