예제 #1
0
 public IList <ItemsDto> GetList()
 {
     return(DtoConverter.Convert(_itemsDao.GetAll()));
 }
예제 #2
0
 public ProductDto GetID(string Title)
 {
     return(DtoConverter.Convert(_productDao.GetID(Title)));
 }
예제 #3
0
 public void Add(ItemsDto item)
 {
     _itemsDao.Add(DtoConverter.Convert(item));
 }
예제 #4
0
 public WorkerDto Get(int id)
 {
     return(DtoConverter.Convert(_workerDao.Get(id)));
 }
예제 #5
0
 public void Update(ProductDto product)
 {
     _productDao.Update(DtoConverter.Convert(product));
 }
예제 #6
0
 public IList <OrderDto> GetFromManager(int idManager)
 {
     return(DtoConverter.Convert(_orderDao.GetFromManager(idManager)));
 }
예제 #7
0
 public IList <OrderDto> GetList()
 {
     return(DtoConverter.Convert(_orderDao.GetAll()));
 }
예제 #8
0
 public IList <CustomerDto> SearchCustomer(string Name)
 {
     return(DtoConverter.Convert(_customerDao.SearchCustomer(Name)));
 }
예제 #9
0
 public void Update(CustomerDto customer)
 {
     _customerDao.Update(DtoConverter.Convert(customer));
 }
예제 #10
0
 public CustomerDto Get(int id)
 {
     return(DtoConverter.Convert(_customerDao.Get(id)));
 }
예제 #11
0
 public IList <CustomerDto> GetList()
 {
     return(DtoConverter.Convert(_customerDao.GetAll()));
 }
예제 #12
0
 public void Add(CustomerDto customer)
 {
     _customerDao.Add(DtoConverter.Convert(customer));
 }
예제 #13
0
 public void Update(WorkerDto worker)
 {
     _workerDao.Update(DtoConverter.Convert(worker));
 }
예제 #14
0
 public IList <WorkerDto> GetList()
 {
     return(DtoConverter.Convert(_workerDao.GetAll()));
 }
예제 #15
0
 public void Update(ItemsDto item)
 {
     _itemsDao.Update(DtoConverter.Convert(item));
 }
예제 #16
0
 public void Add(ProductDto product)
 {
     _productDao.Add(DtoConverter.Convert(product));
 }
예제 #17
0
 public void Add(OrderDto order)
 {
     _orderDao.Add(DtoConverter.Convert(order));
 }
예제 #18
0
 public ProductDto Get(int id)
 {
     return(DtoConverter.Convert(_productDao.Get(id)));
 }
예제 #19
0
 public OrderDto Get(int id)
 {
     return(DtoConverter.Convert(_orderDao.Get(id)));
 }
예제 #20
0
 public IList <ProductDto> GetList()
 {
     return(DtoConverter.Convert(_productDao.GetAll()));
 }
예제 #21
0
 public void Update(OrderDto order)
 {
     _orderDao.Update(DtoConverter.Convert(order));
 }
예제 #22
0
 public void Add(WorkerDto worker)
 {
     _workerDao.Add(DtoConverter.Convert(worker));
 }