public List <Hardware> GetAllHardware()
 {
     return(repository.GetAllHardware());
 }