public CategoryDetailsViewModel(ICategoryClient categoryClient, CategoryListViewModel summary, CategoryViewModel current) { this.categoryClient = categoryClient; this.summary = summary; this.current = current; this.Name = this.current.Model.Name; this.Desc = this.current.Model.Desc; }
public CategoryListViewModel(ICategoryClient categoryClient, int scope) { if (categoryClient == null) { throw new ArgumentNullException(); } this.categoryClient = categoryClient; this.scope = scope; }
public CategoryMenu(ICategoryClient categoryClient) { this._categoryClient = categoryClient; }