Example #1
0
        public OutgoingJsonData MakeBoardPublic([FromBody] IncomingPublicBoardRequest request)
        {
            var result = string.Empty;

            using (var context = new DatabaseController(Context, Configuration))
            {
                var domain = Request.Host.Host;

                result = context.ChangeProjectBoardStatus(request, domain);
            }
            return(new OutgoingJsonData {
                Data = result
            });
        }