public SanPhamModel Create(SanPhamModel spmoi)
 {
     return(isp.Create(spmoi));
 }
 public bool Create(SanPhamModel model)
 {
     return(_res.Create(model));
 }
Exemple #3
0
 public void Create(SanPhamDTO sanpham)
 {
     sanphamRepository.Create(iMapper.Map <SanPhamDTO, SanPham>(sanpham));
 }