예제 #1
0
        public SessionDrillContainer(TrainingSession trainingSession, List <DrillDto> drills)
        {
            Id               = trainingSession.Id;
            Name             = trainingSession.Name;
            DateCreated      = trainingSession.DateCreated;
            ObjectHistoryKey = ObjectHistoryHelper.GetObjectHistoryFullNameAndId(typeof(TrainingSession), Id.ToString());

            Drills = drills;
        }
예제 #2
0
 public override void Process(TagHelperContext context, TagHelperOutput output)
 {
     output.TagName = "a";
     output.Attributes.SetAttribute("href", $"/arragro-object-history/{ObjectHistoryHelper.GetObjectHistoryFullNameAndId(Type, Id)}");
     output.Content.SetContent(LinkText);
 }