public List <MissingModelBaseImage> GetBaseImages <T>() where T : MissingModel { if (typeof(T) == typeof(Person)) { return(TakeBaseImages(_personRepository.GetAll().ToList())); } else { return(TakeBaseImages(_plateRepository.GetAll().ToList())); } }
public List <Plate> GetAllMissingPlates() { return(new List <Plate>(_plateRepository.GetAll())); }
public IEnumerable GetAll() { return(_repository.GetAll()); }
public IActionResult GetPlates() { var plates = _plateRepository.GetAll(); return(Ok(plates)); }