public ListController(IRepository <User, UserLookup> userRepository, IRepository <Profile, ProfileLookup> profileRepository, IRepository <Buddy, BuddyLookup> buddyRepository, IRepository <Block, BuddyLookup> blockRepository, IRepository <PresenceProfileStatus, PresenceProfileLookup> presenceProfileStatusRepository) { this.userRepository = userRepository; this.profileRepository = profileRepository; this.buddyRepository = (BuddyRepository)buddyRepository; this.blockRepository = (BlockRepository)blockRepository; this.presenceProfileStatusRepository = (PresenceProfileStatusRepository)presenceProfileStatusRepository; }
public StatusController(IRepository <PresenceProfileStatus, PresenceProfileLookup> profileStatusRepository, IRepository <Buddy, BuddyLookup> buddyRepository, IRepository <Block, BuddyLookup> blockRepository) { this.profileStatusRepository = (PresenceProfileStatusRepository)profileStatusRepository; this.buddyRepository = buddyRepository; this.blockRepository = blockRepository; }