Пример #1
0
 /// <summary>
 /// Gets all <see cref="Category"/>s that match the specified criteria.
 /// </summary>
 /// <param name="filter">A collection of parameters to filter by.</param>
 /// <returns></returns>
 public Task <Category[]> GetCategoriesAsync(CategoryCollectionParameters filter)
 {
     return(this.client.GetAsync <Category[]>((CategoryCollectionDto)filter));
 }
Пример #2
0
        /// <summary>
        /// Contains contract definitions, not for actual use.
        /// </summary>
        Task <Category[]> ICategoryManager.GetCategoriesAsync(CategoryCollectionParameters request)
        {
            Contract.Requires <ArgumentNullException>(request != null);

            return(null);
        }