public vm_commentaar_type(GmmDbContext pContext) { _context = pContext; _commentaarType = new CommentaarType { Id = 0 }; }
public Commentaar(string tekst, CommentaarType commentaarType, DateTime datum, string gebruikerid) { Tekst = tekst; CommentaarType = commentaarType; Datum = datum; GebruikerId = gebruikerid; }
public void GetCommentaarTypeById(int pCommentaarTypeIdId) { _commentaarType = (_context.CommentaarTypes.Where(b => b.Id == pCommentaarTypeIdId).SingleOrDefault()); }