diff --git a/Project-Unite/Controllers/SkinsController.cs b/Project-Unite/Controllers/SkinsController.cs index f53963d..e2ad80d 100644 --- a/Project-Unite/Controllers/SkinsController.cs +++ b/Project-Unite/Controllers/SkinsController.cs @@ -54,7 +54,7 @@ public ActionResult PostSkin(CreateSkinViewModel model) id = id.Replace(c, '_'); } - skin.Id = id; + skin.Id = id + "_" + db.Skins.Count().ToString(); skin.Name = model.Title; skin.ShortDescription = model.ShortDescription; skin.PostedAt = DateTime.Now;