Exemplo n.º 1
0
 List <Models.ControllerStateInformation> GetStates(ISqLiteContext ctx, Models.Controller controller)
 {
     return(ctx.ControllerStateInformation
            .Where(stateInfo => stateInfo.ControllerId == controller.Id)
            .Select(state => _modelFactory.CreateControllerStateInformation(state))
            .ToList());
 }