public IActionResult AddOrEdit(Guid id)
        {
            if (id == Guid.Empty)
            {
                return(View());
            }

            var readerViewModel = _readerService.GetReaderById(id);

            return(View(readerViewModel));
        }
Пример #2
0
 public Reader GetReaderById(int readerId)
 {
     return(_readerService.GetReaderById(readerId));
 }