public IList <Instance> GetInstances()
 {
     return(_instanceRepository.GetInstances());
 }
 public async Task <ActionResult <IEnumerable <InstanceDTO> > > GetInstances()
 {
     return(Ok(await instanceRepository.GetInstances()));
 }