public IActionResult Add(string author, string city, string country) { BookService.AddNewAuthor(author, city, country); return(LocalRedirect("/book")); }
public IActionResult Add(string author, string city, string country) { BookService.AddNewAuthor(author, city, country); return(Json(new { Response = "It's ok" })); }