Пример #1
0
 public List <MissingModelBaseImage> GetBaseImages <T>() where T : MissingModel
 {
     if (typeof(T) == typeof(Person))
     {
         return(TakeBaseImages(_personRepository.GetAll().ToList()));
     }
     else
     {
         return(TakeBaseImages(_plateRepository.GetAll().ToList()));
     }
 }
Пример #2
0
 public List <Plate> GetAllMissingPlates()
 {
     return(new List <Plate>(_plateRepository.GetAll()));
 }
Пример #3
0
 public IEnumerable GetAll()
 {
     return(_repository.GetAll());
 }
Пример #4
0
        public IActionResult GetPlates()
        {
            var plates = _plateRepository.GetAll();

            return(Ok(plates));
        }