Ejemplo n.º 1
0
 public UsersController(IUserLogic logic, UserManager <ApplicationUser> userManager, IPhotoLogic photoLogic, ILikeLogic likeLogic)
 {
     _logic       = logic;
     _userManager = userManager;
     _photoLogic  = photoLogic;
     _likeLogic   = likeLogic;
 }
Ejemplo n.º 2
0
 public void TestInitialize()
 {
     _logic   = LikeFactory.CreateTestLogic();
     _build   = new PcBuild("test _build", new List <PcPart>(), 0, 0, "1");
     _account = new Account("testuser", "1234", "1234")
     {
         Id = "1"
     };
 }
Ejemplo n.º 3
0
 public PcBuildController(IConfiguration configuration)
 {
     _pcBuildLogic = PcBuildFactory.CreateLogic(configuration);
     _likeLogic    = LikeFactory.CreateLogic(configuration);
 }
Ejemplo n.º 4
0
 public LikesController(ILikeLogic likeLogic)
 {
     _likeLogic = likeLogic;
 }