Exemple #1
0
        public async Task <IHttpActionResult> DeletetipoDPF(int id)
        {
            tipoDPF tipoDPF = await db.tipoDPF.FindAsync(id);

            if (tipoDPF == null)
            {
                return(NotFound());
            }

            db.tipoDPF.Remove(tipoDPF);
            await db.SaveChangesAsync();

            return(Ok(tipoDPF));
        }