Ejemplo n.º 1
0
        public IHttpActionResult AddNewRegistration([FromBody] RegistrationDto registration)
        {
            var user   = base.CurrentUser();
            var result = _registrationService.AddNewRegistration(registration, user.Domain, user.LoginName, user.Site);

            return(Created("", result));
        }