Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public ActionResult Update(Author_DTO obj)
 {
     _AuthorAppService.Update(obj);
     return(RedirectToAction("GetAll"));
 }