public IAuthenticationService GetAuthenticationService() { AuthenticationService authenticationService = new AuthenticationService() { ContentRepository = repositoryHandler.GetContentRepository(), DocumentRepository = repositoryHandler.GetDocumentRepository(), FooterRepository = repositoryHandler.GetFooterRepository(), HeaderRepository = repositoryHandler.GetHeaderRepository(), ParagraphRepository = repositoryHandler.GetParagraphRepository(), TextRepository = repositoryHandler.GetTextRepository(), UserRepository = repositoryHandler.GetUsersRepository(), FriendRequestRespository = repositoryHandler.GetFriendRequestRepository() }; return(authenticationService); }