public bool Insert([FromBody] Necessity necessity) { return(_service.Add(necessity)); }
public bool Update([FromBody] Necessity necessity) { return(_service.Update(necessity)); }
private void PlayAnimationOnNeed(Necessity necessity) { animator.SetTrigger(NeedTrigger); }