public void HardDeleteBot(HardDeleteBot model) { var robotToHardDelete = _dbContext.Robots.Find(model.CartBotId); _dbContext.Robots.Remove(robotToHardDelete); _dbContext.SaveChanges(); }
public void Delete(HardDeleteBot request) { _repo.HardDeleteBot(request); }