示例#1
0
 public FishService(AppUnityOfWork uof)
 {
     UnitOfWork = uof;
 }
示例#2
0
 public AppUserService(AppUnityOfWork uof)
 {
     UnitOfWork = uof;
 }
 public HealthBookService(AppUnityOfWork uof)
 {
     UnitOfWork = uof;
 }
示例#4
0
 public TestsController(IAppUserService userService, AppUnityOfWork appUnityOfWork)
 {
     UserService    = userService;
     AppUnityOfWork = appUnityOfWork;
 }
示例#5
0
 public AquariumService(AppUnityOfWork uof)
 {
     UnitOfWork = uof;
 }
示例#6
0
 public GalleryService(AppUnityOfWork uof)
 {
     UnitOfWork = uof;
 }
示例#7
0
 // GET api/values/5
 public string Get(int id, AppUnityOfWork uow)
 {
     return("value " + id + User.ToString());
 }
示例#8
0
 // GET api/values
 public IEnumerable <string> Get(AppUnityOfWork uow)
 {
     return(new string[] { "value1", "value2" });
 }
示例#9
0
 public ValuesController(AppUnityOfWork uow)
 {
     UOW = uow;
 }