コード例 #1
0
        public async Task <OdgovorMsg> Login(RegistracijaMsg r)
        {
            var rez = await _authApi.Login(r);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
            return(rez);
        }
コード例 #2
0
        public async Task Login(RegistracijaMsg reg)
        {
            await _api.Login(reg);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
        }