public void ExportExcelProductData(MappingModel model)
 {
     DataTable fullDt = GetBetTypesOfProductsData();
     AddBaseTypeToDataTable(ref fullDt);
     DataTable productDt = GetProductData(model.ProductId, fullDt);
     ExportToExcel(productDt);
 }
 public void ExportExcelMappingData(MappingModel model)
 {
     DataTable fullDt = GetBetTypesOfProductsData();
     AddBaseTypeToDataTable(ref fullDt);
     DataTable deviredDt = GetDeviredTypesOfBetTypeWithProductId(model.ProductId, fullDt, model.BaseType);
     ExportToExcel(deviredDt);
 }
 public ActionResult Index()
 {
     MappingModel model = new MappingModel();
     return View(model);
 }