Fixed bug with bug close date

This commit is contained in:
Michael 2017-04-14 18:03:41 -04:00
parent a2cbddfbfd
commit 4fd744368c

View file

@ -113,6 +113,7 @@ public ActionResult PostBug(PostBugViewModel model)
bug.Id = id;
bug.Open = true;
bug.ClosedAt = DateTime.Now;
bug.Reporter = User.Identity.GetUserId();
bug.ReportedAt = DateTime.Now;
bug.Species = model.SpeciesId;