Exemplo n.º 1
0
 public SanPhamModel Create(SanPhamModel spmoi)
 {
     return(isp.Create(spmoi));
 }
Exemplo n.º 2
0
 public bool Create(SanPhamModel model)
 {
     return(_res.Create(model));
 }
Exemplo n.º 3
0
 public void Create(SanPhamDTO sanpham)
 {
     sanphamRepository.Create(iMapper.Map <SanPhamDTO, SanPham>(sanpham));
 }