public ActionResult Edit(string vendorId, VendorViewModel model)
 {
     try
     {
         IVendorService objIVS = new VendorService();
         var            result = objIVS.Edit(vendorId, model);
         return(RedirectToAction("Index"));
     }
     catch (Exception ex)
     {
         general.AddLogError("Vendor Edit", ex.Message, ex.StackTrace);
         return(View("~/Views/Master/Vendor/Index.cshtml"));
     }
 }