Пример #1
0
 public ActionResult Cloths(ClothProducts clothprod)
 {
     _cloth.InsertNewCloths(clothprod);
     return View();
 }
Пример #2
0
 //Inserting New Cloths into Database
 public void InsertNewCloths(ClothProducts cloths)
 {
     _unitOfWork.Repository<ClothProducts>().Insert(cloths);
     _unitOfWork.Save();
 }