Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public override void Process(TagHelperContext context, TagHelperOutput output) { bool userCheck = _requestService.CanStudentRequest(context.AllAttributes["user-id"].Value.ToString()).Result; output.TagName = "button"; if (!userCheck) { output.Attributes.Add("disabled", "true"); } }