コード例 #1
0
ファイル: UserManager.cs プロジェクト: Wagsn/DotNET-WS
 public UserManager(RelUserPlayListStore RelUserPlayListStore, RelPlayListSongStore RelPlayListSongStore, SongStore SongStore, UserStore theUsers, IMapper Mapper)
 {
     _RelUserPlayListStore = RelUserPlayListStore;
     _RelPlayListSongStore = RelPlayListSongStore;
     TheSongs = SongStore;
     TheUsers = theUsers;
     _Mapper  = Mapper;
 }
コード例 #2
0
 /// <summary>
 /// 用户控制构造器
 /// </summary>
 /// <param name="applicationDbContext"></param>
 /// <param name="relUserPlayListStore"></param>
 /// <param name="relPlayListSongStore"></param>
 /// <param name="songStore"></param>
 /// <param name="userManager"></param>
 public UserController(
     ApplicationDbContext applicationDbContext,
     RelUserPlayListStore relUserPlayListStore,
     RelPlayListSongStore relPlayListSongStore,
     SongStore songStore,
     UserManager userManager
     )
 {
     Context = applicationDbContext;
     _RelPlayListSongStore = relPlayListSongStore;
     _RelUserPlayListStore = relUserPlayListStore;
     _SongStore            = songStore;
     Manager = userManager;
 }