Пример #1
0
        public void HardDeleteBot(HardDeleteBot model)
        {
            var robotToHardDelete = _dbContext.Robots.Find(model.CartBotId);

            _dbContext.Robots.Remove(robotToHardDelete);
            _dbContext.SaveChanges();
        }
Пример #2
0
 public void Delete(HardDeleteBot request)
 {
     _repo.HardDeleteBot(request);
 }