public ActionResult Delete(Guid idB)
        {
            VMDeleteB vmDeleteB = new VMDeleteB();

            // mapping visual model to DTO
            DTOModelB dtoModelB = new DTOModelB();

            ABaseController_WebStoreInstance.WebStore_CoreSupplierInstance.GetFeatureB.DeleteGet(dtoModelB);

            return(View(vmDeleteB));
        }
        public ActionResult Delete(VMDeleteB vmDeleteB)
        {
            if (ModelState.IsValid)
            {
                try
                {
                    // mapping visual model to DTO
                    DTOModelB dtoModelB = new DTOModelB();

                    ABaseController_WebStoreInstance.WebStore_CoreSupplierInstance.GetFeatureB.DeletePost(dtoModelB);
                }
                catch (Exception exception)
                {
                    throw new HttpException(500, exception.Message, exception);
                }
            }

            return(RedirectToAction("List"));
        }