public async Task <PagedResultOutput <LayerManagerDto> > Intsert(int pageIndex, int pageSize, LayerManagerInput input) { throw new NotImplementedException(); //Tbl_LayerManager lm = new Tbl_LayerManager //{ // Id = Guid.NewGuid().ToString(), // PID = input.PID, // LABEL = input.LABEL, // ZOOMLEVEL = input.ZOOMLEVEL, // URL = input.URL, // DATASERVERKEY = input.DATASERVERKEY, // TILESIZE = 512, // ZEROLEVELSIZE = input.ZEROLEVELSIZE, // PICTYPE = input.PICTYPE, // CREATETIME = DateTime.Now //}; //_iLayerManagerRepository.Insert(lm); //QueryLayerManagerInput queryInput = new QueryLayerManagerInput //{ // PageIndex = pageIndex, // PageSize = pageSize //}; //return await GetPageListAndCount(queryInput); }
public async Task <PagedResultOutput <LayerManagerDto> > Intsert(int pageIndex, int pageSize, LayerManagerInput input) { Tbl_LayerManager lm = new Tbl_LayerManager { Id = Guid.NewGuid().ToString(), PID = input.PID, LABEL = input.LABEL, ZOOMLEVEL = input.ZOOMLEVEL, URL = input.URL, DATASERVERKEY = input.DATASERVERKEY, TILESIZE = 512, ZEROLEVELSIZE = input.ZEROLEVELSIZE, PICTYPE = input.PICTYPE, CREATETIME = DateTime.Now }; _iLayerManagerRepository.Insert(lm); QueryLayerManagerInput queryInput = new QueryLayerManagerInput { PageIndex = pageIndex, PageSize = pageSize }; return(await GetPageListAndCount(queryInput)); }