Example #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Start.");

            using (var context = new SwallowContext())
            {
                var t = context.Travel.GetByCurrentUser().FirstOrDefault();
            }

            Console.WriteLine("End.");
            Console.ReadKey();
        }
Example #2
0
 public TripsFinders(SwallowContext context)
 {
     this.context = context;
     this.client  = this.BuildClientUberApi();
 }
Example #3
0
 internal UserRepository(SwallowContext context)
 {
     this.Context = context;
 }
Example #4
0
 public RepositoryBuilder()
 {
     this.Context = new SwallowContext();
 }