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