public User Get(Expression <Func <User, bool> > predicate)
 {
     return(_userRespository.Get(predicate));
 }
Ejemplo n.º 2
0
        public IResult <User> Get(Expression <Func <User, bool> > predicate)
        {
            var result = _userRespository.Get(predicate);

            return(new Result <User>(200, result));
        }