/// <summary>
 /// This function will return orders summary of Customer for last 180 days.Summary is grouped on the basis of import date and we wont show more than 100 rows.
 /// </summary>
 /// <param name="customerId"></param>
 /// <returns></returns>
 public IList <PoHeadline> GetRecentOrders(int skuId, int maxRows)
 {
     return(SharedRepository.GetRecentOrders(_db, null, skuId, maxRows));
 }
 /// <summary>
 /// This function will return orders summary of Customer for last 180 days.Summary is grouped on the basis of import date and we wont show more than 100 rows.
 /// </summary>
 /// <param name="customerId"></param>
 /// <returns></returns>
 public IList <PoHeadline> GetRecentOrders(string customerId, int maxRows)
 {
     return(SharedRepository.GetRecentOrders(_db, customerId, null, maxRows));
 }