コード例 #1
0
        public Clientes Delete(int id)
        {
            var entity = GetById(id);

            if (entity != null)
            {
                almacenDb.Remove(entity);
            }
            return(entity);
        }
コード例 #2
0
        public Productos Delete(int id)
        {
            var prod = GetById(id);

            if (prod != null)
            {
                almacenDb.Remove(prod);
            }
            return(prod);
        }
コード例 #3
0
        public DespachoProductos Delete(int id)
        {
            var desp = GetById(id);

            if (desp != null)
            {
                almacenDb.Remove(desp);
            }

            return(desp);
        }
コード例 #4
0
        public Usuarios Delete(int id)
        {
            var usuarios = GetById(id);

            if (usuarios != null)
            {
                almacenDb.Remove(usuarios);
            }

            return(usuarios);
        }