public bool CanDelete(CatchMetric item) { if (item != null) { if (this.helperProvider == null) { this.helperProvider = new PgCatchEffortProvider(this.Context); } return(this.helperProvider.CanDelete(item.CatchEffortId)); } return(false); }
internal FishCountBuilder(UserSecurityContext ctx) { this.context = ctx; this.prov = UserAffilationSecurityManager.Instance.GetProvider(this.context); this.helperBuilder = new PgCatchEffortProvider(ctx); }