public SalesHistoryResponseModel GetItemHistory(string[] names = null, string delimeter = null, int page = 1, int perPage = 30, string appId = "") { IOperation <ItemHistoryRequestModel, SalesHistoryResponseModel> operation = BotConfigurator.Container.Resolve <Operation <ItemHistoryRequestModel, SalesHistoryResponseModel> >(); SalesHistoryResponseModel response = operation.DoOperation(Constants.GetItemHistory, new ItemHistoryRequestModel() { Names = names, Delimiter = delimeter, Page = page, PerPage = perPage, AppId = appId }); return(response); }
public SalesHistoryResponseModel GetSellHistory(int page = 1, string appId = "") { IOperation <PagedRequestModel, SalesHistoryResponseModel> operation = BotConfigurator.Container.Resolve <Operation <PagedRequestModel, SalesHistoryResponseModel> >(); SalesHistoryResponseModel response = operation.DoOperation(Constants.GetSellHistory, new PagedRequestModel() { Page = page, AppId = appId }); return(response); }