private void Update() { foreach (var category in _dataContext.Categories.Collection) { category.IconSource = _iconsService.Get(category.IconSource.Id); } foreach (var operation in _dataContext.Operations.Collection) { operation.Category = _dataContext.Categories.Get(operation.Category.Id); } _dataLoaded = false; }
public HttpResponseMessage GetIcons(IconsModel model) { return(iconsService.Get(model, Request)); }