public ActionResult Post(ProblemUserModel problem)
        {
            var newProblem = _problemService.Create(problem.ToModel(), AuthorId);

            if (newProblem == null)
            {
                return(StatusCode(403));
            }
            return(StatusCode(201, newProblem.ToView()));
        }
        public ActionResult Put(int id, ProblemUserModel problem)
        {
            var result = _problemService.Edit(problem.ToModel(), id, AuthorId);

            if (!result)
            {
                return(BadRequest());
            }
            return(Ok());
        }