public LogAction(ApplicationUser performedBy, string action, string controller, string description) { PerformedBy_Id = performedBy.Id; Action = action; Controller = controller; Description = description; PerformedAt = DateTime.Now; }
public Issue(ApplicationUser creator, ApplicationUser assignedTo, IssueType type, string subject, string body) { Creator_Id = creator.Id; AssignedTo_Id = assignedTo.Id; Subject = subject; Body = body; CreatedAt = DateTime.Now; IssueType = type; }