public bool GetSingleByUsernameorEmail(string email)
 {
     Expression<Func<User, bool>> whereCondition = x => ((!string.IsNullOrEmpty(email) && x.Email.ToLower() == email.ToLower()));
     return _userRepository.Exist(whereCondition);
 }