Example #1
0
        public ActionResult Delete(int id)
        {
            _tipRepository.Delete(_tipRepository.Get(id));

            if (_tipRepository.Save())
            {
                return(Ok());
            }

            return(Ok("eroare"));
        }
Example #2
0
 public void DeleteTip(Tip tip) => tipRepository.Delete(tip);