public ActionResult Cloths(ClothProducts clothprod) { _cloth.InsertNewCloths(clothprod); return View(); }
//Inserting New Cloths into Database public void InsertNewCloths(ClothProducts cloths) { _unitOfWork.Repository<ClothProducts>().Insert(cloths); _unitOfWork.Save(); }