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