/// <summary> /// usuięcie sesji /// </summary> /// <param name="entity"></param> public void Delete(Session entity) { _sailingDbContext.Entry(entity).State = EntityState.Deleted; }
/// <summary> /// usunięcie danych z bazy /// </summary> /// <param name="entity"></param> public void Delete(GPSData entity) { _sailingDbContext.Entry(entity).State = EntityState.Deleted; }