Esempio n. 1
0
        public void Post([FromBody] UserAction input)
        {
            if (string.IsNullOrEmpty(input.User))
            {
                input.User = HttpContext.Current.Request.UserHostAddress;
            }

            _repository.Post(input.Action, input.User);
        }