public override void Execute(LoginViewModel model) { var httpClient = new WSHttpClient(); var responce = httpClient.PostData <LoginResponceViewModel>("User/login/", JsonConvert.SerializeObject(model), false); if (responce.Answer != null) { LocalDatabase.AddNewItem(new LocalUserModel(responce.Answer)); } CommonExecute(responce); }