public HomeController(IUserLogic userLogic, IFriendRequestLogic friendRequestLogic, IPostLogic postLogic, ICommentLogic commentLogic) { _userLogic = userLogic; _friendRequestLogic = friendRequestLogic; _postLogic = postLogic; _commentLogic = commentLogic; }
PostController() { //if (this.postlogic != null) //{ this.postlogic = new PostLogic(); //} }
public ProfileController(IUserLogic userLogic, IPostLogic postLogic, IFriendRequestLogic friendRequestLogic, IProfilePictureLogic profilePictureLogic) { _userLogic = userLogic; _postLogic = postLogic; _friendRequestLogic = friendRequestLogic; _profilePictureLogic = profilePictureLogic; }
public FollowLogic(IPostLogic postLogic, ITentPostFactory postFactory, ITentPostTypeFactory postTypeFactory, ITentRequestPostFactory requestPostFactory, ITentClientFactory tentClientFactory, ITentHawkSignatureFactory hawkSignatureFactory, ITentConstants tentConstants) { Ensure.Argument.IsNotNull(postLogic, nameof(postLogic)); Ensure.Argument.IsNotNull(postFactory, nameof(postFactory)); Ensure.Argument.IsNotNull(postTypeFactory, nameof(postTypeFactory)); Ensure.Argument.IsNotNull(requestPostFactory, nameof(requestPostFactory)); Ensure.Argument.IsNotNull(tentClientFactory, nameof(tentClientFactory)); Ensure.Argument.IsNotNull(hawkSignatureFactory, nameof(hawkSignatureFactory)); Ensure.Argument.IsNotNull(tentConstants, nameof(tentConstants)); this.postLogic = postLogic; this.postFactory = postFactory; this.postTypeFactory = postTypeFactory; this.requestPostFactory = requestPostFactory; this.tentClientFactory = tentClientFactory; this.hawkSignatureFactory = hawkSignatureFactory; this.tentConstants = tentConstants; }
public PostController(IPostLogic postLogic) { _postLogic = postLogic; }
public PostService(IPostLogic postLogic) : base(postLogic) { _postLogic = postLogic; }
public PostController(IPostLogic HotelLogic) { this.PostLogic = HotelLogic; }
PostController(IPostLogic postlogic) { this.postlogic = postlogic; }
public PostController(ConestogaCarpoolContext context, IPostLogic postLogic) { _context = context; _postLogic = postLogic; }
public AccountController(IAccountLogic accountLogic, UserManager <IdentityUser> userManager, IPostLogic postLogic) { this.accountLogic = accountLogic; this.userManager = userManager; this.postLogic = postLogic; }
public PostController(IPostLogic postLogic, IMediaLogic mediaLogic) { _postLogic = postLogic; _mediaLogic = mediaLogic; }
public SearchController(IUserLogic userLogic, IPostLogic postLogic, IProfilePictureLogic profilePictureLogic) { _userLogic = userLogic; _postLogic = postLogic; _profilePictureLogic = profilePictureLogic; }
public PostController(IPostLogic postLogic, UserManager <IdentityUser> userManager, PostContext postContext) { this.postLogic = postLogic; this.userManager = userManager; this.postContext = postContext; }
public LogicTests() { postLogic = new PostLogic(new PostRepository(new PostContext(new Connection(@"Data Source=mssql.fhict.local;Initial Catalog=dbi404906_ocial;User ID=dbi404906_ocial;Password=123")))); userLogic = new UserLogic(new UserRepository(new UserContext(new Connection(@"Data Source=mssql.fhict.local;Initial Catalog=dbi404906_ocial;User ID=dbi404906_ocial;Password=123")))); friendRequestLogic = new FriendRequestLogic(new FriendRequestRepository(new FriendRequestContext(new Connection(@"Data Source=mssql.fhict.local;Initial Catalog=dbi404906_ocial;User ID=dbi404906_ocial;Password=123")))); }
public SubmissionController(IPostLogic postLogic, UserManager <IdentityUser> userManager) { this.postLogic = postLogic; this.userManager = userManager; }