Newer
Older
Cohesion / IProductService.cs
@Derek Comartin Derek Comartin on 6 May 2021 322 bytes Tests with interface and delegates
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Cohesion
{
    public interface IProductService
    {
        Task UpdateProductInfo();
        Task<Product> GetProductBySku(string sku);
        Task<Product> GetProductForSaleBySku(string sku);
        Task<List<Product>> GetProducts();
    }
}