public static T Scope <T>(this IHasPassport self, Func <T> action) where T : StandardResponse { return(self.Passport.Scope(action)); }
public static async Task <T> ScopeAsync <T>(this IHasPassport self, Func <Task <T> > actionAsync) where T : StandardResponse { return(await self.Passport.ScopeAsync(actionAsync)); }