Пример #1
0
        public IActionResult CreatePublicService([FromBody] PublicService data)
        {
            var hasil = new OutputData()
            {
                IsSucceed = true
            };


            data.Id = db.GetSequence <PublicService>();
            data.GenerateQRCode();
            hasil.IsSucceed = db.InsertData <PublicService>(data);


            return(Ok(hasil));
        }