private void OnCreateExecute() { Busy = true; Date = new Date() { DateContent = SelectedDate, Description = Description, DetachmentID = LoginInit.user.DetachmentID, IsNight = IsNight }; dataClient = ContainerProvider.GetInstance.Resolve <DataServiceClient>(); dataClient.AddDateCompleted += AddDateCompleted; dataClient.AddDateAsync(Date); }