public IActionResult AddOrEdit(Guid id) { if (id == Guid.Empty) { return(View()); } var readerViewModel = _readerService.GetReaderById(id); return(View(readerViewModel)); }
public Reader GetReaderById(int readerId) { return(_readerService.GetReaderById(readerId)); }