public User Get(Expression <Func <User, bool> > predicate) { return(_userRespository.Get(predicate)); }
public IResult <User> Get(Expression <Func <User, bool> > predicate) { var result = _userRespository.Get(predicate); return(new Result <User>(200, result)); }