public User Get(int id)
 {
     using (var context = new HacContext())
     {
         return(context.Users.Where(x => x.id.Equals(id)).FirstOrDefault());
     }
 }
 public List <User> Get()
 {
     using (var context = new HacContext())
     {
         return(context.Users.ToList());
     }
 }