Exemplo n.º 1
0
        public async Task <IObjectModel> IndexAsync(System.Web.HttpContext context, long objectId, CancellationToken cancellationToken)
        {
            IObjectModel model = new ObjectModel();

            model = await _dal.SelectByIDAsync(objectId, userId, cancellationToken);
            await PopulateInitialValuesAsync(model, cancellationToken);

            return(model);
        }