public async Task <OdgovorMsg> Login(RegistracijaMsg r) { var rez = await _authApi.Login(r); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); return(rez); }
public async Task Login(RegistracijaMsg reg) { await _api.Login(reg); NotifyAuthenticationStateChanged(GetAuthenticationStateAsync()); }