public bool CanDeleteEMployee(EmlpoyeeEdit parameter) { return(Model != null && BusinessRules.HasPermission(AuthorizationActions.DeleteObject, typeof(EmlpoyeeEdit))); }
public void OnDeleteEMployee(EmlpoyeeEdit parameter) { parameter.DeleteInList(); }