public ActionResult <Resolution> AddResolution(AddResolutionViewModel newResolution)
        {
            if (ModelState.IsValid)
            {
                var Resolution = new Resolution
                {
                    Id      = Guid.NewGuid().ToString(),
                    Date    = DateTime.UtcNow.Date,
                    Indexer = _indexer.GenerateIndexer(),

                    Title                  = newResolution.Title,
                    Description            = newResolution.Description,
                    ActiveToVoteBeforeDate = newResolution.ActiveToVoteBeforeDate
                };

                _context.AddResolution(Resolution);
                _context.SaveChanges();

                return(Ok());
            }
            ModelState.AddModelError("Overall", "Niepoprawnie wprowadzone dane uchwały");

            return(BadRequest(ModelState));
        }