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)); }