Example #1
0
 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);
 }
Example #2
0
 internal FishCountBuilder(UserSecurityContext ctx)
 {
     this.context       = ctx;
     this.prov          = UserAffilationSecurityManager.Instance.GetProvider(this.context);
     this.helperBuilder = new PgCatchEffortProvider(ctx);
 }