public static bool TryWithCreatedAt(this IDirectory model, out ICreatedAt feature)
 {
     Ensure.NotNull(model, "model");
     return(model.TryWith <ICreatedAt>(out feature));
 }
Ejemplo n.º 2
0
 public static void SetCreatedAt(ICreatedAt model)
 {
     model.CreatedAt = DateTime.Now;
 }