public void Remove(Guid id)
        {
            var entity = _context.Client.FirstOrDefault(ClientQueries.GetClientById(id));

            _context.Client.Remove(entity);
            _context.SaveChanges();
        }
 public IEnumerable <Client> GetClientById(Guid id)
 {
     return(_context.Client.AsNoTracking().Where(ClientQueries.GetClientById(id)).Include(x => x.Order).ThenInclude(x => x.Items));
 }