public IServerResponse SignOn(SignOnInfo signOnInfo) { Assert.IsNotNull(signOnInfo); Assert.IsStringNotNullOrEmpty(signOnInfo.AccountOrEmailOrMobile); Assert.IsStringNotNullOrEmpty(signOnInfo.Password); IServerResponse <Session> response = serverProvider.SignOn(signOnInfo); if (response.Status == ResponseStatus.Success && response.Data != null) { SaveSession(response.Data); } return(response); }
public IServerResponse <Session> SignOn(SignOnInfo signOnInfo) { return(serverProvider.SignOn(signOnInfo)); }