public void DeleteDetail(CastleDetail castleDetail) { _castleContext.CastleDetail.Remove(castleDetail); }
public void AddCastleDetailForCastle(int castleId, CastleDetail castleDetail) { var castle = GetCastle(castleId, false); castle.CastleDetails.Add(castleDetail); }