示例#1
0
 public ActionResult InsertVendor(Core.Model.VendorModel res)
 {
     if (res != null)
     {
         Web.Controllers.WebApiController.WebApiController webapi = new Web.Controllers.WebApiController.WebApiController();
         webapi.InsertVendor(res);
     }
     return(RedirectToAction("Index"));
 }
示例#2
0
 public void InsertVendor(Core.Model.VendorModel res)
 {
     Data.SangamRepository rep = new Data.SangamRepository();
     rep.InsertVendor(res);
 }