コード例 #1
0
        public async Task <ActionResultReponese <string> > Confirm(string id)
        {
            var result = await _topicsRepository.ConfirmTopics(id);

            if (result >= 0)
            {
                return(new ActionResultReponese <string>(result, "duyet de tai thanh cong", "Comfirm Topics"));
            }
            return(new ActionResultReponese <string>(result, "duyet de tai that bai", "Comfirm Topics"));
        }