[Parameter] public EventCallback<empdisabled> FiletoDelete { get; set; } <button OnClick="() => FiletoDelete.InvokeAsync(context)"/>
//CreateEmpForm-is class i have written RemoveFile mtd <Child FileToDelete="@(variant=>createMediaNewForm.RemoveFile(variant.FIle))" ></Child> public async Task RemoveFile(empNormal file) { EmpList.Remove(file); }
public class empdisabled { private empnormal file; public empdisabled(empnormal file) { File = file; this.file = file; }
CascadingParamemter
CaptainParamemter
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)