public int DeleteAssets(int id) { Trakify_Assets asset = context.Trakify_Assets.Find(id); asset.IsDeleted = true; return(context.SaveChanges()); }
public int InsertAsset(Trakify_Assets user) { return(assetRepository.Insert(user)); }
public int UpdateAsset(Trakify_Assets user) { return(assetRepository.Update(user)); }
public int UpdateAsset(Trakify_Assets asset) { return(assetService.UpdateAsset(asset)); }
public int DeleteAsset(Trakify_Assets trakify_Assets) { return(assetRepository.Delete(trakify_Assets)); }
public int InsertAsset(Trakify_Assets asset) { return(assetService.InsertAsset(asset)); }
public int DeleteAsset(Trakify_Assets trakify_Assets) { return(assetService.DeleteAsset(trakify_Assets)); }
public JsonResult DeleteAsset(Trakify_Assets trakify_Assets) { return(Json(_assetsFacade.DeleteAsset(trakify_Assets))); }
public JsonResult UpdateAsset(Trakify_Assets trakify_Assets) { return(Json(_assetsFacade.UpdateAsset(trakify_Assets))); }
public JsonResult SaveAssets(Trakify_Assets trakify_Assets) { return(Json(_assetsFacade.InsertAsset(trakify_Assets))); }