public TakeResponse GetTakeInfos() { TakeResponse response = new TakeResponse(); response.TaseInfos = BaseBLL <TakeBLL> .Instance.ShowTasteInfo(); return(response); }
public TakeResponse GetTakeInfos(GetCartRequest request) { TakeResponse response = new TakeResponse(); response.TaseInfos = BaseBLL <TakeBLL> .Instance.GetTakeInfos(); response.State = true; return(response); }
private void Start() { gaze = (TakeResponse)FindObjectOfType(typeof(TakeResponse)); cooldownRemaining = cooldown; VRGestureRecognizer.Current.NodHandler += OnNod; VRGestureRecognizer.Current.HeadshakeHandler += OnHeadshake; isListening = true; }
public async Task <IActionResult> Post([FromBody] Take take, TakeResponse takeResponse) { var a = await this.takeDataProvider.TakeUser(take); if (a == 1) { takeResponse.message = "RecordSuccessfullyEntered"; takeResponse.status = 1; } else { takeResponse.message = "RecordEnteringUnsuccessful"; takeResponse.status = 0; } return(Ok(takeResponse)); }