public User GetUserById(int UserId) { return(Ninjas.FirstOrDefault(u => u.UserId == UserId)); }
public User GetUserByEmail(string Email) { return(Ninjas.FirstOrDefault(u => u.Email == Email)); }
public User GetUserById(int UserId) { return(Ninjas.FirstOrDefault(u => u.UserId == UserId)); }
public User GetUserByEmail(string Email) { return(Ninjas.FirstOrDefault(u => u.Email == Email)); }