/// <summary> /// Gets the user. /// </summary> /// <param name="userId">The user id.</param> /// <param name="emailAddress">The email address.</param> /// <param name="password">The Password</param> /// <param name="status">The is active.</param> /// <returns></returns> public static User FindUserProfile(int? userId = null, string emailAddress = null, string password = null, Enums.Status status = Enums.Status.NotDefined) { var sqlUser = new SqlUser(); return sqlUser.GetUserProfile(userId, emailAddress, password, status); }