public Client GetClient(Func <Client, bool> func) { var result = _context.Set <Client>().FirstOrDefault(func); return(result); }