Beispiel #1
0
        public IActionResult AddViolationForUser([FromForm] ViolationViewModel violation)
        {
            long violationId = _policePresentation.AddViolationForUser(_mapper.Map <Violations>(violation));

            return(Ok(violationId));
        }