public BirthdaysController(IFriendListService friendList, IPrincipal identity) { Guard.WhenArgument(friendList, "friendListService").IsNull().Throw(); Guard.WhenArgument(identity, "principalService").IsNull().Throw(); this.friendList = friendList; this.identity = identity; }
public AdministrationController(IGroupService groups, IFriendListService friendLists, IUserService users) { Guard.WhenArgument(groups, "Group service cannot be null!").IsNull().Throw(); Guard.WhenArgument(friendLists, "FriendsLists service cannot be null!").IsNull().Throw(); Guard.WhenArgument(users, "Users service cannot be null!").IsNull().Throw(); this.groups = groups; this.friendLists = friendLists; this.users = users; }
public FriendListController(ITokenService tokenService, IFriendListService friendService) { _friendService = friendService; }
public AccountController(ITokenService tokenService, IFriendListService friendService, IUserService userService) { _tokenService = tokenService; _userService = userService; }