private SheetHeaderModel Create(string name, int columnIndex) { var model = new SheetHeaderModel { Name = name, CellIndex = CellIndexModelFactory.Create(columnIndex, 1) }; return(model); }
private SheetCellModel Create(SheetHeaderModel header, string content, int rowIndex) { var model = new SheetCellModel { Header = header, Content = content, CellIndex = CellIndexModelFactory.Create(header.CellIndex.Column, rowIndex) }; return(model); }