public AuthorizationViewModel(PageService pageService, UserService userService, AccountsRestClient accountsClient) { _pageService = pageService; _userService = userService; _accountsClient = accountsClient; }
public RegistrationViewModel(PageService pageService, RolesRestClient rolesClient, GroupsRestClient groupsClient, AccountsRestClient accountsClient, StudentsRestClient studentsClient) { _pageService = pageService; _rolesClient = rolesClient; _groupsClient = groupsClient; _accountsClient = accountsClient; _studentsClient = studentsClient; Groups = HttpResponseMessageConverter.GetResult <List <dynamic> >(_groupsClient.GetGroups()); }