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