Esempio n. 1
0
        //Xóa Brand
        public async Task <bool> Delete(object id)
        {
            var ModelNo = _repoModelNo.FindById(id);

            _repoModelNo.Remove(ModelNo);
            return(await _repoModelNo.SaveAll());
        }
Esempio n. 2
0
        //Xóa Brand
        public async Task <bool> Delete(object id)
        {
            var Line = _repoLine.FindById(id);

            _repoLine.Remove(Line);
            return(await _repoLine.SaveAll());
        }