public User GetByMobile(string mobile) { if (string.IsNullOrEmpty(mobile)) { return(new User()); } return(_userRep.Get(x => x.Mobile == mobile)); }