Exemplo n.º 1
0
        public async Task <IEnumerable <UserViewModel> > Get(string keyValues)
        {
            var lymbdaExpression = LambdaConverter.Convert <User>(keyValues);
            var users            = await GetUserViewModelOperation.ExecuteAsync(lymbdaExpression);

            return(users);
        }
Exemplo n.º 2
0
        public async Task <IEnumerable <DriverViewModel> > Get(string keyValues)
        {
            var expression = LambdaConverter.Convert <Driver>(keyValues);
            var drivers    = await GetDriverViewModelOperation.ExecuteAsync(expression);

            return(drivers);
        }