public void Save(AssetStatusViewModel aStatusVM)
 {
      AssetStatus aStatus = new AssetStatus(aStatusVM.Id)
      {
          Name=aStatusVM.Name,
          Description=aStatusVM.Description,                
      };
      _assetStatusRepository.Save(aStatus);
  }
 public ActionResult CreateAssetStatus(AssetStatusViewModel aStatusVM)
 {
     try
     {
         aStatusVM.Id = Guid.NewGuid();
         _assetStatusViewModelBuilder.Save(aStatusVM);
         TempData["msg"] = "Asset Status Successfully Created";
         _auditLogViewModelBuilder.AddAuditLog(this.User.Identity.Name, "Create", "AssetStatus", DateTime.Now);
         return RedirectToAction("ListAssetStatus");
     }
     catch (DomainValidationException dve)
     {
         ValidationSummary.DomainValidationErrors(dve, ModelState);
         return View();
     }
     catch (Exception ex)
     {
         ViewBag.msg = ex.Message;
         return View();
     }
 }