コード例 #1
0
 public User GetOneByEmailIncludePerson(string email)
 {
     return(_context.Users.Include(x => x.Person).Include(x => x.Roles).FirstOrDefault(UserSpecs.GetOneByEmail(email)));
 }