summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Project-Unite/Controllers/SkinsController.cs2
1 files changed, 1 insertions, 1 deletions
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 @@ namespace Project_Unite.Controllers
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;