示例#1
0
        public JsonResult DatLich([FromBody] DatlichViewModel model)
        {
            var result = _lienHeRepository.Datlich(model);

            if (result)
            {
                return(new JsonResult(new
                {
                    mes = "thanh cong"
                }));
            }
            return(new JsonResult(new
            {
                mes = "that bai"
            }));
        }