Pulse7
9/14/2017 - 2:00 PM

Reset table, delete everything

public IHttpActionResult DeleteEverything()
{
    db.Database.ExecuteSqlCommand("delete from People DBCC CHECKIDENT ('People', RESEED, 0)");
    return StatusCode(HttpStatusCode.OK);
}