Advertisement
wingman007

IUnitOfWorkSuggestedExample

Sep 28th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1. // https://www.youtube.com/watch?v=rtXpYpZdOzM&t=1159s
  2.  
  3. using Queries.Core.Repositories;
  4. using System;
  5.  
  6. namespace Queries.Core
  7. {
  8.     public interface IUnitOfWork : IDisposable
  9.     {
  10.         ICourseRepository Courses { get; }
  11.         IAuthorRepository Authors { get; }
  12.         int Complete(); // Save Flush etc.
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement